* {
    padding: 0;
    margin: 0;
}

html,
body {
    padding: 0;
    margin: 0;
    background: #fff;
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25px;
    border-bottom: solid 1px #666;
    z-index: 9999;
    background: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    .item{
        height: 25px;
        line-height: 25px;
        padding: 0 10px;
        border-right: solid 1px #ccc;
        font-size: 12px;
    }
}

#container {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 100%;
    background: #ccc;
    overflow: scroll;
}

#contls {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    border-right: solid 1px #666;
    background: #fff;

    .component{
        cursor: pointer;
        text-align: center;
        padding: 10px 0;
        border-right: solid 1px #ccc;
        border-bottom: solid 1px #ccc;
    }
}


#context {
    margin: 30px auto;
    width: 375px;
    height: 650px;
   
}
#context.iphone{
    margin: -30px auto;
    width: 455px;
    height: 787px;
    padding-top: 130px;
    background-image: url(../images/iphone_gold.png);
    background-size: 100% auto;
}
#website{
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto;
    background: #eee;
    overflow-y: scroll;
    width: 375px;
    height: 665px;
    .elem_box{
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
        user-select:none;    
        &.active{
            border: solid 1px rgb(247, 127, 15);
        }
        img{
            float: left;
        }
        .del_btn{
            position: absolute;
            top: 0;
            right: 0;
            background: rgba(0,0,0,.5);
            color: #fff;
            font-size: 12px;
            padding: 0 10px;
        }
    }
}

